package com.fa4j.system.login.model;

import com.fa4j.common.base.exception.RequestErrorType;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum LoginError implements RequestErrorType {

    APP_DISABLE(1, "应用已被禁用"),
    ERROR_USERNAME_OR_PASSWORD(2, "用户名或者密码错误"),
    ACCOUNT_NOT_REGISTER(3, "账号未注册"),
    ACCOUNT_DISABLE(4, "账号已被禁用"),
    ;

    private final Integer innerCode;
    private final String errMsg;

}
